package com.carb.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

@Data
@Schema(description = "用户登录传递的数据模型")
public class UserLoginDTO implements Serializable {

    @Schema(description = "用户名",
            requiredMode = Schema.RequiredMode.REQUIRED)
    private String username;

    @Schema(description = "密码",
            requiredMode = Schema.RequiredMode.REQUIRED)
    private String password;

}
